package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author 祖铭泽
 * @Date 2022/1/7/0007
 * @description 部门 pojo
 */
@Data
public class JsDept {
    private Integer id ;            //主键id,
    private String deptName;       //部门名称,
    private String deptDescirbe;   //部门描述,
    private Integer parentId;      //上级部门id,
    private String createId;       //创建人,
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String createDate;       //创建时间,
    private String updateId;       //更新人,
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String updateDate;       //更新时间,
    private Character status ;      //状态，1启用，2未启用,
    private String deptIden;     //部门标识
    private String trueName;    //创建人名字

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptDescirbe() {
        return deptDescirbe;
    }

    public void setDeptDescirbe(String deptDescirbe) {
        this.deptDescirbe = deptDescirbe;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public Character getStatus() {
        return status;
    }

    public void setStatus(Character status) {
        this.status = status;
    }

    public String getDeptIden() {
        return deptIden;
    }

    public void setDeptIden(String deptIden) {
        this.deptIden = deptIden;
    }
}
